package io.qar.reviews.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.qar.commons.tools.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import io.qar.commons.mybatis.dto.CreateAndUpdatedDTO;

import java.io.Serializable;
import java.util.Date;

/**
* 评论表
*
* @author yyyyjinying 1020066395@qq.com
* @since 3.0 2024-06-10
*/
@Data
@ApiModel(value = "评论表")
public class ReviewsDTO extends CreateAndUpdatedDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "评论ID")
    private Long reviewId;
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    @ApiModelProperty(value = "餐厅ID")
    private Long restaurantId;
    @ApiModelProperty(value = "评论内容")
    private String reviewContent;
    @ApiModelProperty(value = "评分")
    private Integer rating;
    @ApiModelProperty(value = "评论时间")
    private Date reviewTime;

}